import request from '@/utils/request'

export const getDataSafe_Api = (query) => request.get("/data/safe/list", {
    parmas: query
})

/**
 * 上月攻击者IP，地址top5
 * @param {*} query 
 * @returns 
 */
export const getSafeIpListTop5_Api = (query) => request.get("/data/safe/ipList", {
    parmas: query
})

/**
 * 上月威胁类型top5
 * @param {*} query 
 * @returns 
 */
export const getSafeTypeTop5_Api = (query) => request.get("/data/safe/type", {
    parmas: query
})

/**
 * 上月威胁地点top5
 * @param {*} query 
 * @returns 
 */
export const getSafeAddressTop5_Api = (query) => request.get("/data/safe/address", {
    parmas: query
})

/**
 * 上月威胁类型列表
 * @param {*} query 
 * @returns 
 */
export const getSafeTypeList_Api = (query) => request.get("/data/safe/typeList", {
    parmas: query
})

/**
 * 上月威胁类型百分比
 * @param {*} query 
 * @returns 
 */
export const getSafeTypePercentage_Api = (query) => request.get("/data/safe/typePercentage", {
    parmas: query
})

/**
 * 上月威胁等级数量
 * @param {*} query 
 * @returns 
 */
export const getSafeChangeSum_Api = (query) => request.get("/data/safe/changeSum", {
    parmas: query
})

/**
 * 上月威胁地点列表
 * @param {*} query 
 * @returns 
 */
export const getSafeAddressList_Api = (query) => request.get("/data/safe/addressList", {
    parmas: query
})

/**
 * 上周威胁等级列表
 * @param {*} query 
 * @returns 
 */
export const getSafeChangeList_Api = (query) => request.get("/data/safe/changeList", {
    parmas: query
})